<HTML><HEAD><TITLE>count(+Tree, ?Count)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(m_tree234)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>count(+Tree, ?Count)</H1>
Count the number of elements in a tree.
<DL>
<DT><EM>Tree</EM></DT>
<DD>A 2-3-4 tree
</DD>
<DT><EM>Count</EM></DT>
<DD>The number of elements in Tree
</DD>
</DL>
<H2>Description</H2>
	<P>
	Counts the number of elements in the tree Tree, and attempts to
	unify the result with Count.
	</P>
	<P>
	This predicate should only be called with trees created by other
	predicates from the tree234 module.
	</P>
	
<H3>Fail Conditions</H3>
Fails if Count does not unify with the number of elements in Tree.
<H3>Resatisfiable</H3>
no

</BODY></HTML>
